#ifndef _CORE_H
#define _CORE_H

#include "SDL.h"
#include "SDL_opengl.h"

#include "ConfigFile.h"

class Core
{
private:
	bool Running;

	SDL_Surface* Surf_Display;

	ConfigFile* config;

public:
	Core(void);
	~Core(void);

	int OnExecute();

public:
	bool OnInit();

	void OnEvent(SDL_Event* Event);

	void OnLoop();

	void OnRender();

	void OnCleanup();
};

#endif // _CORE_H